<aside class="main-sidebar">
  <section class="sidebar">
    <form action="#" method="get" class="sidebar-form">
      <div class="input-group">
        <input type="text" name="q" class="form-control" placeholder="搜索">
        <span class="input-group-btn">
          <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i></button>
        </span>
      </div>
    </form>
    <ul class="sidebar-menu" data-widget="tree">
      <li class="{{ active_menu('posts.*') }}"><a href="{{ route('posts.index') }}"><i class="fa fa-file-text-o"></i> <span>文章</span></a></li>
      <li class="{{ active_menu('tags.*') }}"><a href="{{ route('tags.index') }}"><i class="fa fa-tags"></i> <span>标签</span></a></li>
      <li class="{{ active_menu('users.*') }}"><a href="{{ route('users.edit', 'me') }}"><i class="fa fa-user"></i> <span>个人信息</span></a></li>
    </ul>
  </section>
</aside>
